.EXPORT_ALL_VARIABLES:

.PHONY: clean all

ALLIBS  = -lm

AR              = ar
CC		= gcc
CPP             = c++
CFLAGS		=  -O2 -pipe -Wall -W -Woverloaded-virtual

INCLUDES        = -I./

LFLAGS		=  -g 
LIBS 		= $(ALLIBS)

all:  libCommandLineInterface.a
	@echo Done

lib%.a: %.o
	$(AR) cru $@ $^

%.o: %.cc %.hh
	$(CPP) $(CFLAGS) $(INCLUDES) -c $< -o $@

#--------------------------------------------------
clean:
	rm  -f *.o libCommandLineInterface.a
